<?php

// Configure the site environment status.
defined('APPLICATION_ENVIRONMENT') or define('APPLICATION_ENVIRONMENT', 'development');

// Invoke the front controller
$frontController = Zend_Controller_Front::getInstance();

// Identify the location of the controller directory
$frontController->setControllerDirectory(APPLICATION_PATH . '/controllers');

// Create the env parameter so you can later access the environment
// status within the application.
$frontController->setParam('env', APPLICATION_ENVIRONMENT);

// Clean up allocated script resources
unset($frontController);

// Layout Configuration
Zend_Layout::startMvc(APPLICATION_PATH . '/scripts');
$view = Zend_Layout::getMvcInstance()->getView();
unset($view);

